﻿@{
    ViewBag.Title = "Add or Update Email";
    Layout = "~/Areas/Administrator/Views/Shared/_AdminLayout.cshtml";
}

@using Helper

<script src="@Url.ContentArea("~/Content/javascript/emaillist.js")" type="text/javascript"></script>
@Html.Action("_AddOrUpdate", "EmailListManagement", new { id = Model })

<script type="text/javascript">
    ///Document Ready jQuery
    $(document).ready(function () {
        $(".showedit").live("click", function (e) {
            var $this = $(this);
            ShowEdit(e, $this);
        });

        $(".delete").live("click", function (e) {
            var $this = $(this);
            DeleteProductAttribute(e, $this);
        });

        //********END*****************

    });
</script>
